package cn.dapeng.designPatterns.proxy.jdk;

public class TestCase {

    public static void main(String[] args) {
        RentInvocationHandler invocationHandler = new RentInvocationHandler();
        RentHouse rentHouse = (RentHouse) invocationHandler.bind(new PersonallyRentHouse());
        rentHouse.rent();
    }
}
